package com.lq.createPattern.factory.abstractfactory;

public class Client {
    public static void main(String[] args) {
        HuaweiFactory huaweiFactory = new HuaweiFactory();
        Watch watch = huaweiFactory.creatWatch();
        watch.showTime();
        Iphone iphone = huaweiFactory.cretaIphone();
        iphone.call();

        XiaomiFactory xiaomiFactory = new XiaomiFactory();
        Watch watch1 = xiaomiFactory.creatWatch();
        watch1.showTime();
        Iphone iphone1 = xiaomiFactory.cretaIphone();
        iphone1.call();
    }
}
